home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / src / adoc_src.lha / adoc-0.17 / mactab.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-20  |  1.5 KB  |  50 lines

  1. /*                                                               -*- C -*-
  2.  *  MACTAB.H
  3.  *
  4.  *  (c)Copyright 1995 by Tobias Ferber,  All Rights Reserved
  5.  *
  6.  *  This file is free software; you can redistribute it and/or modify
  7.  *  it under the terms of the GNU General Public License as published
  8.  *  by the Free Software Foundation; either version 1 of the License,
  9.  *  or (at your option) any later version.
  10.  *
  11.  *  This file is distributed in the hope that it will be useful,
  12.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *  GNU General Public License for more details.
  15.  *
  16.  *  You should have received a copy of the GNU General Public License
  17.  *  along with this program; see the file COPYING.  If not, write to
  18.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20.  
  21. /* $VER: $Id: mactab.h,v 1.3 1995/03/20 18:07:24 tf Exp $ */
  22.  
  23. #ifndef MACTAB_H
  24. #define MACTAB_H
  25.  
  26. /* prototypes */
  27.  
  28. #if defined(__cplusplus) || defined(cplusplus)
  29. extern "C" {
  30. #endif
  31.  
  32. /* see mactab.doc for further details */
  33.  
  34. extern int      mactab_new      (int num_macros);
  35. extern int      mactab_dispose  (int handle);
  36. extern int      mactab_add      (int handle, ...);
  37. extern int      mactab_remove   (int handle, ...);
  38. extern char *   mactab_get      (int handle, char *lhs);
  39. extern char **  mactab          (int handle);
  40.  
  41. #ifdef DEBUG
  42. extern void     mactab_debug    (FILE *fp);
  43. #endif
  44.  
  45. #if defined(__cplusplus) || defined(cplusplus)
  46. }
  47. #endif /* C++ */
  48.  
  49. #endif /* !MACTAB_H */
  50.